﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GameServer
{
    /// <summary>
    /// 活动基类
    /// </summary>
    public abstract class ActivityBase : IActivity
    {
        /// <summary>
        /// 活动Sn
        /// </summary>
        public Int32 Sn { get; set; }

        /// <summary>
        /// 活动名
        /// </summary>
        public String Name { get; set; }

        protected ActivityBase(Int32 sn,String name)
        {
            this.Sn = sn;
            this.Name = name;
        }

        public virtual void Open() { }
        public virtual void Close() { }

        public virtual void Begin() { }
        public virtual void Finish() { }

        public virtual void GameSecLoop()
        {

        }
        public virtual void GameMinuteLoop()
        {

        }

        public virtual void GameHourLoop()
        {

        }

        public virtual void GameDayLoop()
        {

        }
    }
}
